    function LanguageSystem(){
        var self = this;
        self.text = ko.observable("");
        
        self.init = function(){
            self.changeLang("eng");
        };
        
        self.changeLang = function(lang) {
            console.debug(lang);
            $.getJSON("multilang/languages/" + lang + ".json", function(data) {
                
                console.debug(data, lang);
                self.text(data);
            });
        };
        
        self.init();
    };

 

